package com.kgcx.organization.domain;

import com.kgcx.dbutils.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_organization_customer_msg")
@ApiModel(value = "乘客消息")
public class CustomerMsg extends BaseDomain {
    public static final Integer UNREAD = 1;
    public static final Integer READ = 0;
    /**
     * 乘客id
     */
    @ApiModelProperty(value = "乘客id", required = true, example = "1")
    private Long customerId;

    /**
     * 类型，1=系统
     */
    @ApiModelProperty(value = "类型，1=系统", required = true, example = "1")
    private Integer typeId;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题", required = true, example = "系统消息")
    private String title;

    /**
     * 1=未读，0=已读
     */
    @ApiModelProperty(value = "1=未读，0=已读", required = true, example = "1")
    private Integer isRead;


    /**
     * 内容
     */
    @ApiModelProperty(value = "内容", required = true, example = "您预约的订单已成功")
    private String content;

}